<?php
/**
 * class for account-view of each player
 */

class account{
	var $nick;
	
	var $gold;
	var $wood;
	var $stone;
	var $metal;	
	
	
	
	function test() {
		
	}
	
	/** Working with ressources */
	function addWood($number ){
		$this->wood = $this->wood - $number;
	}
	
	function addStone($number){
		$this->stone = $this->stone - $number;
	}
	
	function addGold($number){
		
	}
	
	function addMetal($number){
		
	}
	
	function subWood($number ){
		
	}
	
	function subStone($number){
		
	}
	
	function subGold($number){
		
	}
	
	function subMetal($number){
		
	}
	
	
}

?>